var express = require("express");
var router = express.Router();
const QuesController = require("../controller/QuesController");

//挂载路由

router.route("/").post(QuesController.addQues).get(QuesController.getQues);

router.route("/:id").patch(QuesController.updateQues);

module.exports = router;
